#pragma once
#ifndef VBO_H
#define VBO_H

#include <glad/glad.h>

class VBO
{
	unsigned int m_ID;
public:
	VBO();
	~VBO();
	void bind();
	void unBind();
	void bufferData(GLenum target, GLsizeiptr size, const void *data, GLenum usage);
	void vertexAttribPointer(GLuint index, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const void *pointer);
	unsigned int getID();
};

#endif